package com.chtw.oasystem.mapper;

import com.chtw.oasystem.bean.TrainUser;
import com.chtw.oasystem.bean.TrainUserExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface TrainUserMapper {
    int countByExample(TrainUserExample example);

    int deleteByExample(TrainUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TrainUser record);

    int insertSelective(TrainUser record);

    List<TrainUser> selectByExample(TrainUserExample example);

    TrainUser selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TrainUser record, @Param("example") TrainUserExample example);

    int updateByExample(@Param("record") TrainUser record, @Param("example") TrainUserExample example);

    int updateByPrimaryKeySelective(TrainUser record);

    int updateByPrimaryKey(TrainUser record);
}